package win.demonlegion.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import win.demonlegion.module.SysAuthorityBean;
import win.demonlegion.module.SysRoleAuthorityBean;

import java.util.List;

@Mapper
public interface SysRoleAuthorityMapper {
    int add(SysRoleAuthorityBean sysRoleAuthorityBean);
    List<SysAuthorityBean> getUserAuthority(@Param("userId") String userId);
}
